<%@ Page EnableViewState="false" Language="C#" MasterPageFile="~/MyMasterPage.master" AutoEventWireup="true" CodeFile="Academic.aspx.cs" Inherits="Academic" Title="Saiket Podder's CyberSpace|Academic" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
		
   <div class="total" style="text-align: justify">
    <asp:DataList ID="DataList1" runat="server" DataKeyField="pageName" DataSourceID="SqlDataSource1">
        <ItemTemplate>
        <% string siteDirName =Application["siteDirName"].ToString(); %>
		<% string extension = Application["extension"].ToString(); %> 
            <h2><asp:Label ID="itemTitleLabel" runat="server" Text='<%# Eval("itemTitle") %>'></asp:Label></h2>
            <h3> <asp:Label ID="itemCaptionLabel" runat="server" Text='<%# Eval("itemCaption") %>'></asp:Label></h3>
            <div class="padding" style="text-align: justify">
                <div id="imageDiv"  class="img">
                    <img src='<%=siteDirName%>media/academic/<%# Eval("ImageName") %>.png' alt=""  />
                </div>
                <asp:Label ID="itemContentLabel" runat="server" Text='<%# Eval("itemContent") %>'> </asp:Label>
                <p class="date"></p>
           </div>
        </ItemTemplate>
    </asp:DataList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Personal %>"
        SelectCommand="SELECT * FROM [Content] WHERE ([pageName] = @pageName)ORDER BY itemSerial">
        <SelectParameters>
            <asp:Parameter DefaultValue="Academic" Name="pageName" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
            
       </div>
       
</asp:Content>

